package com.regulareport.form.mapper;

import com.regulareport.form.domain.ReportVerificationResult;
import com.regulareport.form.domain.excel.ReportVerificationResultExcel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 校验结果Mapper接口
 * 
 * @author
 * @date 2025-10-08
 */
public interface ReportVerificationResultMapper 
{
    /**
     * 查询校验结果
     * 
     * @param reportFormId 报表主键
     * @param verificationConfigID 校验配置主键
     * @return 校验结果
     */
    public ReportVerificationResult selectReportVerificationResultByPkId(Long reportFormId, Long verificationConfigID);

    /**
     * 查询校验结果列表
     * 
     * @param reportVerificationResult 校验结果
     * @return 校验结果集合
     */
    public List<ReportVerificationResult> selectReportVerificationResultList(ReportVerificationResult reportVerificationResult);

    /**
     * 新增校验结果
     * 
     * @param reportVerificationResult 校验结果
     * @return 结果
     */
    public int insertReportVerificationResult(ReportVerificationResult reportVerificationResult);

    /**
     * 修改校验结果
     * 
     * @param reportVerificationResult 校验结果
     * @return 结果
     */
    public int updateReportVerificationResult(ReportVerificationResult reportVerificationResult);

    /**
     * 删除校验结果
     * 
     * @param pkId 校验结果主键
     * @return 结果
     */
    public int deleteReportVerificationResultByPkId(Long pkId);

    /**
     * 批量删除校验结果
     * 
     * @param pkIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReportVerificationResultByPkIds(Long[] pkIds);

    /**
     * 批量新增校验结果
     *
     * @param reportVerificationResultList 校验结果集
     * @return 结果
     */
    public int batchInsertReportVerificationResult(@Param("list") List<ReportVerificationResult> reportVerificationResultList);

    public List<ReportVerificationResultExcel> selectExportReportVerificationResultList(ReportVerificationResult reportVerificationResult);

}
